Sinsegye-DPDK-Ethercat 数据结构


数据结构

typedef struct {
    unsigned lcore_id;					
    unsigned int delay_µs;				
    uint16_t portid;					
    uint64_t sync_interval;				
    struct rte_mempool *mbuf_pool;		
    struct rte_ring *tx_ring;			
    struct rte_ring *rx_ring;			
    struct rte_timer sync_timer;		
} DpdkEthercat;

数据字段

unsigned lcore_id;					
unsigned int delay_µs;
uint16_t portid;
uint64_t sync_interval;
struct rte_mempool *mbuf_pool;		
struct rte_ring *tx_ring;			
struct rte_ring *rx_ring;				
struct rte_timer sync_timer;			

详细说明

描述了DPDK-Ethercat网口的结构特征

数据结构文档